<%
/*Auther name      : Frederic Anand
  file name        : 500.jsp
  date modified    : 17-Feb-2009
  revision history :
*/
%>
<div id="pn36" >
	<%if (session.getAttribute("USER")==null) 
	  { %>
		<table width="720"  border="0" align="center" cellpadding="0" cellspacing="0">
			<tr>
				<td><a href="/portal/index.do"><img src="/images/logo2.gif" width="235" height="73" border="0"></a></td>
				<td width="100%" nowrap>
					<form name="form1" method="post" action="/portal/login.do?action=Login">       
						<table width="425" border="0" align="right" cellpadding="2" cellspacing="0">			
							<tr>
								<td colspan="4" class="boldtext">Already a member ? Log in here else <a href="/portal/editSubscription.do?action=Create" class="title_link style6"><strong>Register</strong></a> </td>
								<td>&nbsp;</td>
							</tr>
							<tr class="text">
								<td width="120" colspan="1"><span class="style3">Username</span></td>
								<td width="101"><span class="style3">Password</span></td>
								<td width="118"><!--DWLayoutEmptyCell-->&nbsp;</td>
								<td width="66">&nbsp;</td>
								<td>&nbsp;</td>
							</tr>
							<tr class="text"> 
								<td height="26" colspan="1" valign="top"><input name="userName" type="text" id="userName" size="20"></td>
								<td valign="top"><input name="password" type="password" id="password" size="14"></td>
								<td colspan="2"><a href="/jsp/ForgotPassword.jsp"><span class="boldtext">Forgot your password? </span></a></td>
								<td>&nbsp;</td>
							</tr>
							<tr class="text">
								<td height="35" colspan="5" valign="top" rowspan="2"><p>
								<input name="imageField" type="image" src="/images/signin2.gif" width="103" height="27" border="0">            
								<a href="/portal/NewAdv.do"><img src="/images/post_an_ad.gif" width="93" height="25" border="0"></a>			
								<a href="/jsp/SearchClassifieds.jsp"><img src="/images/adv_search.gif" width="138" height="25" border="0"></a>
								<a href="/jsp/DealsCat.jsp"> </a></p>
								</td>
							</tr>	
						</table>
					</form>
				</td>
			</tr>
		</table>
	<%}
	  else
	  {%> 
		<table width="802"  border="0" align="center" cellpadding="0" cellspacing="0">
		<!--DWLayoutTable-->
			<tr>
				<td height="140"><a href="/portal/index.do"><img src="/images/logo2.gif" width="235" height="73" border="0"></a></td>
				<td width="567" valign="top">			
					<table  border="0" align="right" cellpadding="2" cellspacing="0">
					<!--DWLayoutTable-->
						<tr>	
							<td width="506" height="113" valign="bottom"><div align="right" class="text"><span class="footerText"><% com.ba360.portal.database.dbo.User user =  (com.ba360.portal.database.dbo.User)session.getAttribute("USER");
							String fn = user.getFN();
							String ln = user.getLN();
							%>Welcome &quot;<%=fn%> <%=ln%>&quot;&nbsp;<span class="boldtext"><a href="/jsp/Signoff.jsp"><img src="/images/log_off.gif" width="72" height="25" border="0" align="absmiddle"></a></span></span><br>
							<br>
							<span class="boldtext">
								<a href="/portal/NewAdv.do"><img src="/images/post_an_ad.gif" width="93" height="25" border="0"></a>							
								<a href="/portal/editSubscription.do?action=ViewInfo"><img src="/images/my_profile.gif" width="94" height="25" border="0"></a>
								<a href="/portal/myadlist.do"><img src="/images/my_Ads.gif" width="72" height="25" border="0">           							
								<a href="/jsp/SearchClassifieds.jsp"><img src="/images/adv_search.gif" width="138" height="25" border="0"></a></font></strong>
							</span><br>
							</div>
							</td>
						</tr>
						<tr>
							<td height="27">&nbsp;</td>
						</tr>
					</table>
				</td>
			</tr>
		</table>
	<%}%>
</div>